package com.coc.Observer.ower;

public class ConcreteObserver2 implements Observer {

    //观察者的状态
    private String observerState;


    @Override
    public void update(String state) {
        observerState = state;
        System.out.println(" ConcreteObserver2 " + observerState );
    }

}
